package com.zj.web.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddressDTO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long addressId;  //"地址id"
    private Long userId;  //"用户id"
    private String recipientName;  //"收件人"
    private String phone;  //"手机号
    private String detailedAddress;  //"详细地址"
    private Integer isDefault;  //"0-不是默认, 1-默认"
    private Integer addressStatus;  //"状态(0-禁用,1-正常)"
}
